Link to this headingTerraform
https://github.com/antonputra/tutorials/tree/main/lessons/196/terraform
Link to this headingBackends
- Local: Lock file on the current machine
- Terraform Cloud: Per user cost from company
- AWS S3: Self managed S3 bucket with database for concurrency checks
Link to this headingAWS S3
Steps:
- Initially don’t set a backend so it uses the local backend.
- Then change your terraform script to use the backend that you just created to manage terraform
- Run
terraform initagain to update the correct backend
Auto manage backend through terraform:
# Setup Local Backend for bootstrapping
#Setup S3 Backend for
Link to this headingCommon Commands
Example setup:
#Setup AWS CLI
#Setup Teraform
&&
#Clean up when finished